package yanglib.application.metadata;

import yanglib.membership.Membership;

import java.io.File;
import java.net.InetSocketAddress;
import java.util.HashMap;

/**
 * Created with IntelliJ IDEA.
 * User: user
 * Date: 9/5/14
 * Time: 3:22 PM
 * To change this template use File | Settings | File Templates.
 */
public class MetadataMembership extends Membership {

    //private HashMap<Integer, InetSocketAddress> mapping = new HashMap<Integer, InetSocketAddress>();
    public MetadataMembership(File file) {
        super(file);
        //addAddress(0, new InetSocketAddress("127.0.0.1", 5353));
        //addAddress(1, new InetSocketAddress("127.0.0.1", 5355));
        //addAddress(2, new InetSocketAddress("127.0.0.1", 5356));
        //addAddress(3, new InetSocketAddress("127.0.0.1", 5359));
    }

    /*public InetSocketAddress getAddress(int id){
        return mapping.get(id);
    }

    public void addAddress(int id, InetSocketAddress address){
        mapping.put(id, address);
    }                 */
}
